package com.yijiajiao.finance.mappers;

import com.yijiajiao.finance.bean.BatchPayDetail;
import com.yijiajiao.finance.bean.BatchPayDetailQuery;

import java.math.BigDecimal;
import java.util.List;

/**
 * @AUTHOR zhaoming@eduspace
 * @CREATE 2017-06-01-15:17
 */
public interface BatchPayDetailMapper {
    List<BatchPayDetail> getBatchPayDetailsByConditions();

    void updateNumber(BatchPayDetail bpd);

    int getCountByDateAndPhone(BatchPayDetailQuery batchPayDetailQuery);

    BigDecimal getSumIncome(BatchPayDetailQuery batchPayDetailQuery);
}
